import axios from "../utils/axios";


export function getMultiRankData(stocks, count = 200) {
    return axios.get('/rank/multiStock?stocks='+stocks + '&count=' + count)
}

export function getIndustryRankData(industry) {
    return axios.get('/rank/industry/'+industry)
}

export function getTradingRankDetailData(date) {
    if (date)  {
        return axios.get('/rank/detail?date='+date)
    }
    return axios.get('/rank/detail')
}

export function getDayLpNewHighDetailData(date) {
    return axios.get('/rank/lpNewHigh/'+date)
}